home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / 3d / relative / !RelativRT / !Help next >
Text File  |  1992-07-01  |  1KB  |  30 lines

  1. Submitted-by: osmith@acorn.co.uk
  2.  
  3. Here is Paul Ballister's relativistic ray tracing source code. You can mail
  4. him as pnb12@phx.cam.ac.uk Please note that this is not production quality
  5. code, and getting it to do what you want is tricky. Adding objects to the
  6. scene requires you to write code - the existing objects (most of them
  7. commented out) are at the end of the program. As supplied, the program will
  8. ray trace to a mode 28 screen, the scene is a shiny sphere above a chess
  9. board, with the sphere moving at 0.5C to the right and 0.1C downwards.
  10.  
  11. The code is supplied as three files. The !Run file, AsLib BASIC library and
  12. RayTrace BASIC program should all be in the same directory. Pressing 'A'
  13. after the trace will cause the scene to be saved with the filename at the
  14. start of the code. To change the screen mode used and other bits and pieces,
  15. change the variables at the start of the program.
  16.  
  17. ---
  18.  
  19. Owen Smith:
  20.  
  21. A minor addition to the instructions for running the relativistic ray
  22. tracing code (after it crashed for someone here). Run the desktop in Mode 28
  23. (or whatever mode the ray tracer is set to trace in) before running it.
  24. Otherwise you will get an address exception due to insufficient screen
  25. memory being allocated.
  26.  
  27. Brian Brunswick:
  28.  
  29. Alternatively just change the `MODE0' to `MODE MD%'
  30.